<div class="containFt main registe" v-if="show">
    <div class="registe-content" v-if="isWx">
        <form id="registerForm" class="flexForm" method="post" action="" v-if="form.wxid&&form.username&&form.channelid">
            <input type="hidden" name="step" value="2">
            <ul class="html_ul">
                <li>
                    <label><span class="icon2 icon2-tel"></span>手机号码：</label>
                    <div class="col"><input id="mobile" type="tel" placeholder="请输入手机号码" v-model="form.mobile" name="mobile"></div>
                </li>
                <li><label>动态码：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
                <div class="col"><input type="text" name="captcha" id="captcha" v-model="form.captcha"></div>
                <span class="captcha-img-ct"><img id="captchaImg" :src="imgSrc" @click="changeCaptcha"/></span>
                <span @click="changeCaptcha">换一张</span></li> 
                <li>
                    <label><span class="icon2 icon2-code"></span>验证码：&nbsp;&nbsp;&nbsp;&nbsp;</label>
                    <div class="col verifyCt"><input id="verifycode" class="verifycode" type="text" maxlength="6" name="verifycode" v-model="form.smcode"></div>
                    <input type="button" id="btnVerify1" class="common-btn" @click="getVerify" value="发送验证码"/>
                </li>
                <li>
                    <label><span class="icon2 icon2-pwd"></span>请设置交易密码：</label>
                    <div class="col"><input id="loginpwd" type="password" placeholder="请输入登录密码" name="loginpwd" v-model="form.loginpwd"/></div>					
                </li>
                <li>
                    <label><span class="icon2 icon2-pwd"></span>请确认交易密码：</label>
                    <div class="col"><input id="reloginpwd" name="reloginpwd" type="password" placeholder="请再次输入登录密码" v-model="form.reloginpwd"/></div>					
                </li>
                <li>
                    <input type="checkbox" id="checkbox_but" v-model="form.checkbox"/>
                    <label for="checkbox_but">
                        <p>我已阅读并同意<a href="#/user/xieyi" style="color:blue;">《风险协议书》</a></p>
                    </label>
                </li>
            </ul>
            <input type="button" id="subBtn" class="long-btn" @click="register" value="立即注册"/>
        </form>
        <div v-if="!form.wxid">
                       获取微信信息失败，请<a href="javascript:location.reload()" style="color:blue;">刷新</a>重试！
        </div>
        <div v-if="form.wxid&&!form.username">
                         微信个人信息获取中，请稍后……
        </div>
        <div v-if="!form.channelid&&form.username">
                        通道获取中……
        </div>
    </div>
    <div v-else>
            请在微信端注册！
    </div>
</div><!-- main -->